package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务项目对象 service_items
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public class ServiceItems extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 服务项目ID */
    private Long itemId;

    /** 名称 */
    @Excel(name = "名称")
    private String itemName;

    /** 价格 */
    @Excel(name = "价格")
    private Long itemPrice;

    /** 介绍 */
    @Excel(name = "介绍")
    private String itemDescription;

    /** 温馨提示 */
    @Excel(name = "温馨提示")
    private String itemTip;

    /** 图片 */
    @Excel(name = "图片")
    private String itemPicture;

    /** 创建者 */
    @Excel(name = "创建者")
    private String itemCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date itemCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String itemUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date itemUpdateTime;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String itemUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String itemDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String itemRemark;

    /** 服务项目分类 */
    @Excel(name = "服务项目分类")
    private Long itemCategory;

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setItemName(String itemName) 
    {
        this.itemName = itemName;
    }

    public String getItemName() 
    {
        return itemName==null?"":itemName;
    }
    public void setItemPrice(Long itemPrice) 
    {
        this.itemPrice = itemPrice;
    }

    public Long getItemPrice() 
    {
        return itemPrice;
    }
    public void setItemDescription(String itemDescription) 
    {
        this.itemDescription = itemDescription;
    }

    public String getItemDescription() 
    {
        return itemDescription;
    }
    public void setItemTip(String itemTip) 
    {
        this.itemTip = itemTip;
    }

    public String getItemTip() 
    {
        return itemTip;
    }
    public void setItemPicture(String itemPicture) 
    {
        this.itemPicture = itemPicture;
    }

    public String getItemPicture() 
    {
        return itemPicture;
    }
    public void setItemCreateBy(String itemCreateBy) 
    {
        this.itemCreateBy = itemCreateBy;
    }

    public String getItemCreateBy() 
    {
        return itemCreateBy;
    }
    public void setItemCreateTime(Date itemCreateTime) 
    {
        this.itemCreateTime = itemCreateTime;
    }

    public Date getItemCreateTime() 
    {
        return itemCreateTime;
    }
    public void setItemUpdateBy(String itemUpdateBy) 
    {
        this.itemUpdateBy = itemUpdateBy;
    }

    public String getItemUpdateBy() 
    {
        return itemUpdateBy;
    }
    public void setItemUpdateTime(Date itemUpdateTime) 
    {
        this.itemUpdateTime = itemUpdateTime;
    }

    public Date getItemUpdateTime() 
    {
        return itemUpdateTime;
    }
    public void setItemUseFlag(String itemUseFlag) 
    {
        this.itemUseFlag = itemUseFlag;
    }

    public String getItemUseFlag() 
    {
        return itemUseFlag==null?"":itemUseFlag;
    }
    public void setItemDelFlag(String itemDelFlag) 
    {
        this.itemDelFlag = itemDelFlag;
    }

    public String getItemDelFlag() 
    {
        return itemDelFlag;
    }
    public void setItemRemark(String itemRemark) 
    {
        this.itemRemark = itemRemark;
    }

    public String getItemRemark() 
    {
        return itemRemark;
    }
    public void setItemCategory(Long itemCategory) 
    {
        this.itemCategory = itemCategory;
    }

    public Long getItemCategory() 
    {
        return itemCategory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemName", getItemName())
            .append("itemPrice", getItemPrice())
            .append("itemDescription", getItemDescription())
            .append("itemTip", getItemTip())
            .append("itemPicture", getItemPicture())
            .append("itemCreateBy", getItemCreateBy())
            .append("itemCreateTime", getItemCreateTime())
            .append("itemUpdateBy", getItemUpdateBy())
            .append("itemUpdateTime", getItemUpdateTime())
            .append("itemUseFlag", getItemUseFlag())
            .append("itemDelFlag", getItemDelFlag())
            .append("itemRemark", getItemRemark())
            .append("itemCategory", getItemCategory())
            .toString();
    }
}
